tests: Don't crash if widgets go away before clipboard
authorBenjamin Otte <otte@redhat.com>
Fri, 1 Dec 2017 05:05:07 +0000 (06:05 +0100)
committerBenjamin Otte <otte@redhat.com>
Sun, 3 Dec 2017 04:46:48 +0000 (05:46 +0100)
commit3ea258de2684ce83639b8fcebc7b215c30eefa76
treead3ed09461fb3705e69d6c4a40d1647099a8b7b2
parentea1879396596f0aefb05b59c0d209a2716d61c42
tests: Don't crash if widgets go away before clipboard

Don't g_signal_connect() to the clipboard without protection - the
clipboard might outlast you and still emit signals.
tests/testclipboard2.c